<%@include file="inc/prelude.jsp" %>
<div id="wrapper">
    <%@include file="inc/header.jsp" %>
    <%@include file="inc/menu.jsp" %>
    <div id="content">
        <div class="content-left">
            <form action="/user/reqActiveCard.htm" method="POST">
                <div id="table-mess">
                    <div class="mess">
                        <div class="mess-title"><img alt=""  src="${pageContext.request.contextPath}/res/images/star.png" border="0"> Manage Credit/Debit Cards</div>
                        <div class="clearboth"></div>
                        <div class="mess-content">
                            <div class="red">
                                ${param['message']}
                            </div>
                            <div class="row-header-radio bold-text">
                                <div class="col-card left-card"><s:text name="user.add_card.title" /></div>
                                <div class="col-card right-card">[<a href="${pageContext.request.contextPath}/user/add_card.htm">Add new card</a>]</div>
                            </div>
                            <div class="clearboth"></div>
                            <div class="row-radio bold-text center-card">
                                <div class="col-symbo">&nbsp;</div>
                                <div class="col-type-card"><s:text name="user.add_card.type" /></div>
                                <div class="col-number-card"><s:text name="user.add_card.number" /></div>
                                <div class="col-verified-card"><s:text name="user.add_card.verified" /></div>
                                <div class="col-action-card">&nbsp;</div>
                            </div>
                            <c:forEach items="${listCard}" var="card">
                                <div class="row-radio">
                                    <div class="col-symbo"><input name="card_id" value="${card.id}" selected="no" type="radio"></div>
                                    <div class="col-type-card">${card.type}</div>
                                    <div class="col-number-card">${card.numberHidden}</div>
                                    <div class="col-verified-card">${card.active}</div>
                                    <div class="col-action-card"><a href="/user/del_card.htm?id=${card.id}" class="green">[delete]</a></div>
                                </div>
                            </c:forEach>
                            <div class="clearboth"></div>
                            <div class="row-button-submit">
                                <br>
                                <button name="m_cards" type="submit">Verify</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
            <%@include file="inc/quicklink.jsp" %>
        </div>
        <%@include file="inc/rightmenu.jsp" %>
    </div>
    <%@include file="inc/footer.jsp" %>
</div>
<%@include file="inc/coda.jsp" %>